<?php if (!defined('THINK_PATH')) exit();?>    <div class="easyui-tabs" style="width:768;height:600px">
        <div title="换机单" style="padding:0px">
            <form  method="post" accept-charset="utf-8" id="fzhjform">
                <div id="fzhjd" class="easyui-panel" title="仿真换货单" style="width:100%;height:500px;padding:0px;"
            data-options="
                tools:[{
                    iconCls:'icon-reload',
                    handler:function(){
                        $('#fzhjd').panel('refresh', 'index.php?s=/Npfe/Goods/loadhjtp');
                    }
                },{
                iconCls:'icon-add',
                    handler:function(){
                        $.messager.prompt('增加工单关联', '请输入您需要关联的工单的联系电话号码。', function(r){
                if (r){
                    UE.getEditor('fanying').destroy();
                    $('#fzhjd').panel('refresh', 'index.php/Npfe/Goods/loadhjtp/link/'+r);
                }
            });
                    }
                }]
            "></div>
                <div style="text-align:center;padding:5px">
                    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitHJForm()">提交</a>
                    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="reviewHJForm()">预览</a>
                </div>
            </form>
            <div id="reviewdlg"></div>
        </div>
        <div title="退机单" style="padding:0px">
            <form  method="post" accept-charset="utf-8" id="fztjdform">
                <div id="fztjd" class="easyui-panel" title="仿真退货单" style="width:100%;height:500px;padding:0px;"
            data-options="
                tools:[{
                    iconCls:'icon-reload',
                    handler:function(){
                        $('#fztjd').panel('refresh', 'index.php?s=/Npfe/Goods/loadtjtp');
                    }
                },{
                iconCls:'icon-add',
                    handler:function(){
                        $.messager.prompt('增加工单关联', '请输入您需要关联的工单的联系电话号码。', function(r){
                if (r){
                    $('#fztjd').panel('refresh', 'index.php?s=/Npfe/Goods/loadtjtp/link/'+r);
                }
            });
                    }
                }]
            "></div>
                <div style="text-align:center;padding:5px">
                    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="submitTJForm()">提交</a>
                    <a href="javascript:void(0)" class="easyui-linkbutton" onclick="reviewTJForm()">预览</a>
                </div>
            </form>
            <div id="reviewdlg"></div>
        </div>
        
    </div>